package com.xxxy;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {

    public static String helloBlockHandler(BlockException e) {
       System . out . println("网络繁忙，稍后再试");
       return "网络繁忙，稍后再试";
    }
}
